package com.markerhub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡检异常图片实体类
 */
@Data
@TableName("inspection_image")
public class InspectionImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 巡检记录ID
     */
    private Long record_id;

    /**
     * 图片URL
     */
    private String image_url;

    /**
     * 图片描述
     */
    private String description;

    /**
     * 创建时间
     */
    private Date created;
}